solve can't open file problem